fix(audience): fix iOS App Store rejection due to incomplete privacy manifest and ATT copy#792
Merged
Merged
Conversation
…manifest and generic ATT copy GoG's app was rejected by Apple because NSPrivacyTrackingDomains was empty despite NSPrivacyTracking=true, and the default ATT prompt was flagged as generic boilerplate. Apple requires tracking domains to be explicitly listed and rejects vague usage descriptions. Fixes SDK-483. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bkbooth
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Two gaps in the SDK's iOS privacy config caused an App Store rejection:
NSPrivacyTrackingDomainswas empty — Apple requires every tracking domain listed whenNSPrivacyTracking = true. The SDK callsapi.immutable.combut it was missing from both the static manifest and the build-time post-processor.NSUserTrackingUsageDescriptionstrings that don't describe a specific use case. The default was vague enough to get most apps rejected.Changes
PrivacyInfo.attribution.xcprivacy— addapi.immutable.comtoNSPrivacyTrackingDomainsiOSPrivacyManifestPostProcessor— inject the tracking domain at build time (idempotent)AudienceMobileBuildSettings— improve default ATT copy; strengthen tooltip to make clear it must be customised per-app before submissionCloses SDK-483, part of SDK-450.
Test plan
AUDIENCE_MOBILE_ATTRIBUTIONenabled; confirmapi.immutable.comappears inUnityFramework/PrivacyInfo.xcprivacyAudienceMobileBuildSettingsinspector shows updated tooltip and default string🤖 Generated with Claude Code